<div style="font: 50px Ahem; -webkit-font-smoothing: none;">
    X <img style="position: absolute; width: 50px; height: 50px; background-color: green;"> <span style="color: red;">Y</span>
</div>
